package com.zn.service;

import com.zn.entity.BankInfo;
import com.zn.entity.CompanyBankInfo;
import com.zn.entity.CustomerBankInfo;
import com.zn.entity.OfflinePayment;
import com.zn.mapper.CustomerBankInfoMapper;
import com.zn.vo.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
 * Created by yinjiawei on 2018/8/2.
 */
public interface CustomerBankInfoService {
    /**
     * 客户绑卡
     * @param customerBankInfo
     * @return
     */
    public ResponseEntity<Message> customerBindBankCard(CustomerBankInfo customerBankInfo);

    List<CustomerBankInfo> selectByCustomerId(String customerId);

    /**
     * 解绑卡
     * @param customerBankInfo
     * @return
     */
    public ResponseEntity<Message> unbindBankCard(CustomerBankInfo customerBankInfo);

    /**
     * 绑卡时返回银行卡列表
     * @return
     */
    List<BankInfo> selectAllBankInfo();

    /**
     * 查询线下充值方式
     * @return
     */
    List<OfflinePayment> getOfflinePaymentList();

    /**
     * 客户选卡
     * @param customerBankInfo
     * @return
     */
    void customerSelectBank(CustomerBankInfo customerBankInfo);



}
